#! /bin/bash

echo -n "please input yes/no [y/n]"
read s1

if test $s1 = y
then
    echo "yes"
    exit 1

elif test $s1 = n
then
    echo "no"
    exit 1
else
    echo "input error"
    exit 1
fi

